NATIVE BUILD IMPROVEMENT - #616
Conversation
There was a problem hiding this comment.
Code Review
This pull request consolidates the standalone macOS, Linux, and Windows build pipelines into a single parameterized PyInstaller specification (AudioMuse-AI.spec) and a Python-based orchestrator (scripts/standalone/build.py), replacing the previous platform-specific shell scripts and spec files. The review feedback highlights several robust improvements: expanding the Windows preparation step to verify all required PostgreSQL contrib files, preserving symbolic links during the pgserver tree copy to prevent library duplication on Linux, conditionally applying Windows-only creationflags in subprocess.run to avoid runtime errors on other platforms, and safely handling empty glob results when locating packaged files to prevent index errors.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This PR is a code refactor on the different Native Build to avoid code repetition and unify the logic.
PR test builds:
ghcr.io/neptunehub/audiomuse-ai:pr-616ghcr.io/neptunehub/audiomuse-ai:pr-616-nvidiaghcr.io/neptunehub/audiomuse-ai:pr-616-noavx2